package edu.isistan.metamodel;

import java.util.Vector;

/**
 * Represents a primitive datatype
 */
public class Primitive extends DataType {

	private boolean wrapper = false;
	
	public Primitive() {
	}
	
	public Primitive(String name, String type, String doc) {
		super(name, type, doc);
	}

	@Override
	public boolean isPrimitive() {
		return true;
	}

	@Override
	public boolean isCollection() {
		return false;
	}

	@Override
	public boolean isWrapper() {
		return wrapper;
	}

	public void setWrapper(boolean wrapper) {
		this.wrapper = wrapper;
	}

	@Override
	public boolean isCompoused() {
		return false;
	}
	
	@Override
	public boolean isArray() {
		return false;
	}	
}